package com.xunchi.haichuan.user.model;

import java.util.HashSet;
import java.util.Set;

/**
 * 作者：kongxb<br>
 * 模块名称：用户模块<br>
 * 功能描述：权限PO<br>
 * 维护记录：
 */
public class Permission implements java.io.Serializable {

	private static final long serialVersionUID = 2087792177181184321L;

	// Fields

	private String permId;
	private String name;
	private String descript;
	private Set<UserPermission> userPermissions = new HashSet<UserPermission>(0);

	// Constructors

	/** default constructor */
	public Permission() {
	}

	// Property accessors

	public String getPermId() {
		return this.permId;
	}

	public void setPermId(String permId) {
		this.permId = permId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String permName) {
		this.name = permName;
	}

	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}

	public Set<UserPermission> getUserPermissions() {
		return this.userPermissions;
	}

	public void setUserPermissions(Set<UserPermission> userPermissions) {
		this.userPermissions = userPermissions;
	}

}